import React from 'react';
import {RootNavigator} from './src/navigation/AppNavigator';
import {Provider} from 'react-redux';
import store from './src/redux/store';
import FlashMessage from 'react-native-flash-message';

const App = () => {
  return (
    <Provider store={store}>
      <RootNavigator />
      <FlashMessage position="bottom" style={{ marginBottom: 20 }} />
    </Provider>
  );
};

export default App;
